(function () {
  'use strict';

  angular
    .module('client')
    .constant('AUTH_EVENTS', {
      notAuthenticated: 'auth-not-authenticated',
      notAuthorized: 'auth-not-authorized',
      loginSuccess: 'auth-login-success',
      loginFailed: 'auth-login-failed',
      logoutSuccess: 'auth-logout-success',
    })
    .constant('USER_API', {
      login: '/api/auth/login',
    })
    .constant('TEST_PLUS_AUTH', {
      CN: 'http://www.testplus.cn/auth/login',
      EN: 'http://www.testplus.us/auth/login',
      remoteCN: 'remote.testplus.cn',
      remoteEN: 'remote.testplus.en',
    });
})();
